Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00741405
Message ID:
00741464
Views:
22
Sorry, I was wrong. Cannot give other recommendations, so I am not sure but this probably may help:

1.
From FPD help for set printer:
*-----------
Novell specific DOS printer setting:
SET PRINTER TO
[\\SPOOLER [\N]
[\F = (expN2)] [\B = (banner)]
[\C = (expN3)] [\P = (expN4)]]
[\S = (server)] [\Q = (queue)]
*--------------
2.
For Windows 2000 and NT to set printer you need to capture a printer port: try NET USE command from DOS, like [NET USE LPT1 \\ServerName\PrinterName]




>Hi Yuri,
>
>Even when running under FPD2.6? I thought "NAME" was only a keyword under Windows FP?
>
>Albert
>
>>Should be:
>>SET PRINTER TO NAME \\ServerName\PrinterName
>>
>>>Hi Y'all,
>>>
>>>I have a old DOS app that I have to keep running as an unattended app. It is now on a DOS box that connects to the network via Novell. To allow unattended switching between printers, my technique was to RUN the Novell capture program to switch capturing ie.
>>>
>>>RUN /100 Capture Q=Brokerage /NB /NFF
>>>
>>>To free up room in the server room, would like to move this program to a Win2k server having it run in a DOS window on the screen. When testing this, the above command is no longer able to execute with the error being "Program too big to fit in memory". I increased /100 to /400 but still no luck.
>>>
>>>So I thought I would try another route as I remembered that SET PRINTER TO could point to a network queue. I tried the following commands (I tried them one at a time but nothing worked - they seem to need to work together - help files are too sketchy to know)
>>>
>>>SET PRINTER TO \\NovellServer1\Brokerage = LPT1
>>>SET PRINTER TO \\SPOOLER\NB\Q=Brokerage
>>>
>>>No error seems to be generated but my output did not make it to the printer (I should add that if I did something simple like opening a table and issuing "List lastname to printer" that I got output to go - but a regular report (.frx) output did not make it there).
>>>
>>>Am I using the above commands correctly? Should I be able to send output to a Novell queue from a W2K server (workstation)?
>>>
>>>Thanks,
>>>
>>>Albert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform