Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a printer
Message
De
21/08/2001 06:40:08
 
 
À
18/08/2001 15:22:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00545890
Message ID:
00546621
Vues:
11
>I need to be able to set a printed as the default printer on the fly from a VFP application. I need to be able to (for want of better phrases) 1) capture a printer port to a completely different network print queue, 2) send the print, and 3) reset the printer back to the original
>
>Here's the problems, as I see them
>
>1. This printer/print queue will probably not exist on the individual workstations, and
>
>2. This needs to be local to the VFP app
>
>
>This is all running on a Novell 4.11+ network
>
>And, of course, I'm on a short timeline with this so ANY help would be appreciated.

Hi Dorris,

Just as idea,
You can establish one to manu set of tables on the server with
all STATIONS in use and relate all available PRINTERS as per station to them.
Using this simple one to manu structure you can manage to
redirect printing anywhere you want on the network,
reverting to default printer afterwards.

Story can be much more sophisticated then this and can resolve manu
printing problems and offer manu advantages, you just hv to use your imagination, e.g. mapping of the printing tasks to specific printer
multiple layouts (frx) for each task etc.

Usefull VFP stuff:
APRINTERS()
SET('printer',2)
GETPRINTER( )
PRINTSTATUS( )
PRTINFO( )
SET PRINTER
???

I guess you know story about cleaning up frx from
development printer settings.

Hope this will help :-)
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform