For Programmers: Free Programming Magazines  


Home > Archive > Clarion > September 2004 > auto select printer from each routine









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author auto select printer from each routine
Ed2jak

2004-09-11, 8:55 pm

Hi All
Anyone know how to select a different printer automatically from a routine in a
APP, ie ReportA needs HP700 and ReportB needs HP3000 without calling the select
printer routine. Help appreciated

Eddie
Jack van Munster

2004-09-12, 3:55 am

Hey Eddie

I use a TPS to store var's : Computername, Username and Window{Prop:Text}
Whenever the window is opened SET(printer_key

Computername and Usermane are API

Hope this helps
Jack


"Ed2jak" <ed2jak@aol.com> schreef in bericht
news:20040911181048.07582.00000555@mb-m11.aol.com...
> Hi All
> Anyone know how to select a different printer automatically from a routine

in a
> APP, ie ReportA needs HP700 and ReportB needs HP3000 without calling the

select
> printer routine. Help appreciated
>
> Eddie



Richard Kim

2004-09-13, 3:55 am

ed2jak@aol.com (Ed2jak) wrote in message news:<20040911181048.07582.00000555@mb-m11.aol.com>...
> Hi All
> Anyone know how to select a different printer automatically from a routine in a
> APP, ie ReportA needs HP700 and ReportB needs HP3000 without calling the select
> printer routine. Help appreciated
>
> Eddie


Make HP700 and HP3000 are sharable as well as Share Name.
HP700 is connected at PC1. HP3000 is connected at PC2.
PC1 and PC2 are computer name.

In Routine for ReprortA,

Data
PROPPRINT:Device EQUATE(07B28H)
ReportName REPORT,AT(....)
HEADER,AT(....)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com