Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Printer hardcoded in report
Message
From
09/07/1999 17:51:00
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00239000
Message ID:
00239676
Views:
8
>Rob,
>
> My users uses diff. kind of printers. Some are using Epson LQ1170 and the others are using the newer model, the Epson LQ2170. I am using the US St. FanFold Paper Size. When I create my report using LQ1170 as my printer the paper size is 39 but if I use the LQ2170 the Paper size is 268.
>
>Can this program help me?
>
>These are the settings or the values of my expr fields..
>
>For the LQ1170 :
>
>DRIVER=WINSPOOL
>DEVICE=Epson LQ-1170 ESC/P 2
>OUTPUT=LPT1:
>ORIENTATION=0
>PAPERSIZE=39
>DEFAULTSOURCE=8
>PRINTQUALITY=360
>YRESOLUTION=180
>TTOPTION=1
>
>
>For the LQ2170 :
>
>DRIVER=WINSPOOL
>DEVICE=Epson LQ-2170 ESC/P 2
>OUTPUT=LPT1:
>ORIENTATION=0
>PAPERSIZE=268
>DEFAULTSOURCE=8
>PRINTQUALITY=360
>YRESOLUTION=180
>TTOPTION=1
>
>
>I don't know what to do or use as default... None of it is working.. pls. help.
>
>Charlotte
>>(snip)
>>
>>PMFJI: Your program pretty much does what has been published by several others, including FPA. I took the NukeFRXPrintInfo program by Jim Haentzschel, and added some code to make it only drop the parts that should be removed. I also added some #define's to make it more version independent (ie: FP-2.x)...
>>
>>At the risk of too long a response, the code is shown below:
>>
(snip)

Hi Charlotte:

We also have different Epson models -- the same ones you have. Yes, the posted code should take care of everything I know of that can mess you up when developing Windows FRX's on one printer and running on another. I really don't know the significance of the paper size number and its different value between the two defaults you show. What we do is to just use the 'least common denominator' approach, and only use features available that are common to all printers in the series -- for Epson/Esc-P series, this should give you everything you want. Then just be sure that printer driver (ie: Epson 1170/Esc-P will work for both printers) is installed on all PCs where the report is to be used. The rest should just work. If not, then you have a situation I may not be able to help with...

HTH

Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform