Discussion:
SET PDFSETUP question FPD 2.6
(too old to reply)
George Smith
2010-12-07 19:53:36 UTC
Permalink
If anyone is still out here:

I have an old app I haven't touched in years that is acting up.

Does anyone recall what causes the printer selection dialog to pop up
when SET PDFSETUP TO ... is executed?

There is probably more to it than just this since selecting a printer
doesn't start the print job - it is just ignored. Still remembering
why the dialog comes up would certainly push me in the right
direction!

Thanks
Dan Freeman
2010-12-07 21:49:52 UTC
Permalink
Post by George Smith
I have an old app I haven't touched in years that is acting up.
Does anyone recall what causes the printer selection dialog to pop up
when SET PDFSETUP TO ... is executed?
There is probably more to it than just this since selecting a printer
doesn't start the print job - it is just ignored. Still remembering
why the dialog comes up would certainly push me in the right
direction!
Thanks
You'll see anomalies like this (and far more wacky in FPW) if you don't
have a default printer set up in Windows. Also, have you SET PRINTER
TO?

It's PDSETUP, btw, not PDFSETUP. :-)

Dan
George Smith
2010-12-08 18:08:42 UTC
Permalink
Post by Dan Freeman
You'll see anomalies like this (and far more wacky in FPW) if you don't
have a default printer set up in Windows. Also, have you SET PRINTER
TO?
It's PDSETUP, btw, not PDFSETUP. :-)
Dan
Thanks for the response, Dan. I have a bit more info now, and have
had a chance to look at the old code.

Probably the most important point is that the problem is only showing
up when the program is running in a DOS window on an XP machine.

In any event, if I just start the program, and make the menu selection
to get to the offending program, the very first thing to happen
printer wise is the SET PDSETUP. If report output has been directed
to the printer, a SET PRINTER TO will occur. Since I get the driver
selection box when output to the screen is selected, it must be the
PDSETUP causing the problem.

I am using GoToMyPC to get on the network, and I can reproduce the
problem. A default printer is defined.

There is a second issue, of course, that you can select a printer from
the dialog and continue, but still, nothing prints. I suspect this has
to do with windows. The DOS program uses SET PRINTER TO <port> where
<port> comes from a config file. Generally, the DOS program used
LPT1: for reports and COM2: for labels. Perhaps a program running in
a DOS shell can't access LPT1: ?

George
George Smith
2010-12-08 18:29:38 UTC
Permalink
Following up on my most recent post, I searched around for LPT1/
command prompt, and turned up a good MS link

http://support.microsoft.com/kb/314499

This may solve the problem, but I won't be able to try it for a few
hours.

G
Post by Dan Freeman
You'll see anomalies like this (and far more wacky in FPW) if you don't
have a default printer set up in Windows. Also, have you SET PRINTER
TO?
It's PDSETUP, btw, not PDFSETUP. :-)
Dan
Loading...