- You are here:
- Home
- CodeXchange
- All
- PowerBuilder
- Direct Send Files to Windows Printer (RawPrint)
Direct Send Files to Windows Printer (RawPrint)
- Ramón San Félix Ramón
- Code Author
- Offline
Less
More
- Posts: 29
1 year 1 month ago #488
by Ramón San Félix Ramón
This message has an attachment file.
Ramón San Félix Ramón created the code: Direct Send Files to Windows Printer (RawPrint)
Here I leave you an example for sending PDF files directly to the printer.
When I say PDF files, I mean files that are already generated and we have in a folder on our computer.
The basic example is a web browser to view a PDF with 3 buttons.
The first is to print using the dialog of the new webbrowser, the second is to use a dialog that I created, and that can be used without needing to open the pdf in a webbrowser. The third button is to send to print without dialog, with the printer we have at that moment by default.
I leave you a link to 2 articles on my blog in Spanish in which I talk about this topic and a link to my github profile where I host the project.
As attached I put a copy of the current project compiled in PB2022 R2 2819.
rsrsystem.blogspot.com/2022/06/envio-dir...os-impresora-de.html
rsrsystem.blogspot.com/2023/05/imprimir-...uevo-webbrowser.html
github.com/rasanfe/pbRawPrint
The example uses a .Net library of which I leave a link to the project:
github.com/rasanfe/RawPrint
When I say PDF files, I mean files that are already generated and we have in a folder on our computer.
The basic example is a web browser to view a PDF with 3 buttons.
The first is to print using the dialog of the new webbrowser, the second is to use a dialog that I created, and that can be used without needing to open the pdf in a webbrowser. The third button is to send to print without dialog, with the printer we have at that moment by default.
I leave you a link to 2 articles on my blog in Spanish in which I talk about this topic and a link to my github profile where I host the project.
As attached I put a copy of the current project compiled in PB2022 R2 2819.
rsrsystem.blogspot.com/2022/06/envio-dir...os-impresora-de.html
rsrsystem.blogspot.com/2023/05/imprimir-...uevo-webbrowser.html
github.com/rasanfe/pbRawPrint
The example uses a .Net library of which I leave a link to the project:
github.com/rasanfe/RawPrint
This message has an attachment file.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- Ramón San Félix Ramón
- Code Author
- Offline
Less
More
- Posts: 29
1 year 2 weeks ago #496
by Ramón San Félix Ramón
Ramón San Félix Ramón replied the code: Direct Send Files to Windows Printer (RawPrint)
Me alegro que le resulte útil a alguien mas...
Muchas Gracias por tu comentario.
Saludos.
Muchas Gracias por tu comentario.
Saludos.
Please Log in or Create an account to join the conversation.
- Gary Ault
- Offline
Less
More
- Posts: 1
1 year 2 weeks ago #495
by Gary Ault
Gary Ault replied the code: Direct Send Files to Windows Printer (RawPrint)
Gracias, Ramón. El proyecto es muy útil para nosotros.
Please Log in or Create an account to join the conversation.
Moderators: Appeon Administrator