Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Genero on Windows XP and printing to windows printers
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Genero on Windows XP and printing to windows printers (Read 12474 times)
Danny D.
Posts: 9
Genero on Windows XP and printing to windows printers
«
on:
September 17, 2008, 12:28:54 pm »
Hi all,
Until now we only use BDL and GENERO on Linux platform. Now we need to make an application on windows XP.
For printer we use in general 'start report pr1 to pipe' with an lp instruction. How do we need to print towards on windows printer?
Thanks for any tips!!
Danny
Stefan S.
Posts: 90
Re: Genero on Windows XP and printing to windows printers
«
Reply #1 on:
September 18, 2008, 03:53:49 pm »
Hello Denny,
you can write the report to a file "start report rep1 to file rep.txt"
then you can start an shell/batch file which print this file. If you are using PCL-Commands in your code then you can use pikprtr.exe to print the file with pcl-code (I attached that little program). An other way is to create PDF-Files and then show them with Acrobat-Reader. For that way we use enscript (for Unix AND Windows!).
hth
PikPrtr.zip
(3.07 KB - downloaded 1083 times.)
Reuben B.
Posts: 1119
Re: Genero on Windows XP and printing to windows printers
«
Reply #2 on:
September 19, 2008, 12:06:11 am »
You should be aware of the DBPRINT environment variable. With DBPRINT=FGLSERVER you can print to the clients windows printer thru the GDC via the START REPORT TO PRINTER syntax
https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/EnvironmentVariables.html#EV_DBPRINT
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Danny D.
Posts: 9
Re: Genero on Windows XP and printing to windows printers
«
Reply #3 on:
September 19, 2008, 10:57:02 am »
Thanks for the tips!!!!
Danny D.
Posts: 9
Re: Genero on Windows XP and printing to windows printers
«
Reply #4 on:
September 19, 2008, 12:45:49 pm »
Problem!!
I've set DBPRINT=FGLSERVER.
But now every line is printed on a new page.
Any idea??
Thanks,
Danny
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...