Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically change the Paper Tray
Message
From
17/12/2004 05:25:07
 
 
To
17/12/2004 04:56:49
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969737
Message ID:
00969977
Views:
12
Hi Gordon,

I use this solution myself, it's really simple and easy to maintain.

The important thing is that you add these, what I call virtual printers, on the printer server. It's also important that you give the virtual printers meaningful names, like OfficePrinterTray1, InvoicePrinterTray3 and so on. I our system we have about 20 virtual printers connected to three real printers. For every combination of printer, tray and output bin we have a virtual printer. One typical name is MainTray1Bin4.

The neat thing is that you only have to configure one PC, the printer server. If you use a Windows server and the workstations use relatively new versions of Windows, the printers will automatically be added again if someone deletes some virtual printers from a workstation. But you even can avoid this problem by using the URL directly, like SET PRINTER TO NAME \\Myserver\MainTray1Bin4.

Also the printer server will handle the printer jobs on a FIFO (first-in-first-out) basis, so your paper will come out of the printers in the correct order.

>Thanks Shafid
>
>I had not considered your solution. At first it seemed a quick and simple solution. Having given it further thought I’m not sure how well it would work on a network which could have many printers, some of them with 3 paper trays. I can see user deleting the duplicated printers.
>
>Have you had this solution working across a network?
Previous
Reply
Map
View

Click here to load this message in the networking platform