Home > Ask the AS/400 Experts > Questions & Answers > Tracking shipping labels
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Tracking shipping labels

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 17 June 2004
Our company utilizes several printers to print shipping labels. We would like to track which printer has printed the shipping label by printing the printer ID/output queue on the shipping label. The shipping label print program calls a utility to override the printer file based on user ID/workstation. Is there an API or easy method to retrieve the printer file's output queue after the override has occurred? I?m using RPG on OS/400.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


I think I understand what you are looking for… you want to know the name of the original output queue defined in a particular printer file.

Before the print program is invoked, use the following command to collect the *SPOOL attributes of your printer file into a temporary work file:

DSPFD FILE(Printer_File) TYPE(*SPOOL) OUTPUT(*OUTFILE) OUTFILE(QTEMP/PrtfDta)

The *OUTQ name can then be retrieved as &SPOTQL/&SPOUTQ from the QTEMP/PrtfDta file.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.

Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.

Check out this Search400.com Featured Topic: 20 ways to ensure a smooth OS upgrade




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts