Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Printer Command - With Netware 4.x
Message
De
25/03/1999 01:47:07
 
 
À
10/03/1999 17:17:16
Tom Kreinbring
Thomas Kreinbring & Associates
Temple City, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00196112
Message ID:
00201755
Vues:
17
>I have an old DOS application where my client upgraded to Netware 4.x and my Set Printer command has stopped working. I currently have coded as follows:
>
>SET PRINTER TO \\SPOOLER\q=HPLJ4_Q\nb
>
>The problem is I still get a banner page and a formfeed at the end of the print job - My client does not want either one. What is the proper syntax?

Hi Tom:

I haven't been on here for several weeks, and noticed no replies to your question. We recently upgraded our servers to NW-4.11 and had some problems, too. The problem, I think is you need to include the server. Some code pasted right from our app is:
lc_prtr = '\\spooler\s=' + m.gc_hmsrvr + '\q=' + m.lc_queue && note: no embedded spaces...
SET PRINTER TO &lc_Prtr.
The gc_hmsrvr is the home server name (netware name) - ie: AFG_HM11
the lc_queue is the print queue name (from netware) - ie: NP21_North
Just be sure to use the same syntax as they are defined in the Netware Administrator utility you are using... Also, be sure to have no embedded spaces, or the command thinks its done (incomplete) too soon...

HTH.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform