User Tools

Site Tools


forum:printmanager:how-to-start-the-printclient-in-gui-mode-already-containing-the-current-queue

This is an old revision of the document!


printmanager

How to Start the PrintClient in GUI mode already containing the current queue

Problem

The PrintClient can be started using the desktop icon. It's also easy to create an iNEWS button to open the PrintClient from within iNEWS. In both cases the PrintClient GUI opens and the queue to print from has to be dragged in. But how can the PrintClient be started containing the currently opened queue so that the user has to chose the printstyle only?

Solution

If the PrintClient should be started in GUI mode containing the current than this queue must be known to the PrintClient. Because the PrintClient cannot interact with iNEWS directly it can read the system name and queue it should print from the Windows clipboard. So if you want the PrintClient to start in GUI mode containing the current iNEWS queue you have to copy the name of the current queue into the Windows clipboard and start the PrintClient with the command line argument -c.

Detailed solution

  1. To copy the current queue into the Windows clipboard create an iNEWS button or keyboard macro containing the following macro for german iNEWS clients:
    {alt fa}{home}[NRCS]{home}{shift {end}}{ctrl c}{esc}

    or for english iNEWS clients

    {alt wo}{home}[NRCS]{home}{shift {end}}{ctrl c}{esc}

    NRCS has to be replaced by your iNEWS system name.

  2. To start the PrintClient reading the system name and queue from the Windows clipboard create another button containing
    {your_printclient_program_dir}\printclient.exe

    in the Command Line field and

    -c

    in the Options field. Where {your_printclient_program_dir} has to be replaced by the directory your PrintClient is installed in.

To print the current queue the user now

  • Sets the cursor into the queue view.
  • Presses the button or starts the keyboard macro created in step 1.
  • Clicks the button created in step 2.

Sebastian Lorenz, 07.08.2008 10:12:

Discussion

Enter your comment. Wiki syntax is allowed:
M᠎ X M R R
 
forum/printmanager/how-to-start-the-printclient-in-gui-mode-already-containing-the-current-queue.1218099606.txt.gz · Last modified: 2023/11/19 22:45 (external edit)