LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   [Printing] Confidential Printing with Sharp AR-M350 (https://www.linuxquestions.org/questions/linux-hardware-18/%5Bprinting%5D-confidential-printing-with-sharp-ar-m350-667092/)

kabalak 09-02-2008 09:51 AM

[Printing] Confidential Printing with Sharp AR-M350
 
We have got a Sharp Ar-M350N Network printer in our working group - I already downloaded and installed the CUPS driver for it. But we apply the confidential print system here (everybody needs a PIN to print or copy on the system) and in the linux printer configuration dialog there is no way to enter a PIN.

Is there any way to enter this PIN in manually or into the PPD file so I can use our working group printer? With Win XP you simply have got a PIN field where you enter your Printing ID and then everything works.

pixellany 09-03-2008 06:49 PM

I would have guessed that the PIN entry comes up when actually printing---not in the configuration file. Have you asked your IT department or local SA?

When you say "confidental print system", is that some kind of software? If so, where? (eg. installed on the printer?)

kabalak 09-04-2008 02:41 AM

The confidential print feature is installed in the printer, without a PIN entry you cannot copy or print. Local SA and Sharp are also not quite interested in helping.

For the Windows driver of this printer you need to set a PIN in the driver options page.. Now with a new PPD file for the Sharp AR-M350 I do also see a "Billing info" field in the printing options dialog in GNOME applications, Openoffice etc.. but this billing info seems not to match the PIN entry of the Windows printer driver.

I do also have a raw PJL/PS printout file from Windows where I can read the output like:
Code:

%-12345X@PJL JOB
@PJL JOB NAME="Unbenannt - Editor"

@PJL SET DRIVERNAME="SHARP AR-M350 PS\476C"

@PJL SET JOBNAME="Unbenannt - Editor"

@PJL SET SPOOLTIME="Thu, 04 Sep 2008 08:39:23 +0100"

@PJL SET USERNAME="BlaBla"

@PJL SET NOTIFYJOBEND=OFF

@PJL SET ACCOUNTNUMBER="12345"

There comes the PIN as the "ACCOUNTNUMBER" field in the PJL preface; how can I view raw PJL output under Linux? Printing to files retrieves only the PS part and not the PJL output..

pixellany 09-04-2008 03:46 AM

You are way past my meager knowledge---I would try here:
http://www.linuxfoundation.org/en/OpenPrinting

and Google

farslayer 09-04-2008 10:05 AM

http://en.opensuse.org/SDB:Using_You...PCL_Printers_2

Look through the linked section.. I think it may help..
============================================================
(excerpt)

If a queue has been created with the printer-specific PPD file of the manufacturer, the corresponding job control commands should be included in the PPD (as *JCL... entries). CUPS automatically sends these commands to the printer and, thus, any additional job control commands will not be required.

Setting particular printing options with PJL commands when printing in PCL mode:

If your printer understands PCL and PJL, you can use PJL commands to activate some printing options. The syntax of a PJL+PCL print job is:
Code:

\033%-12345X@PJL SET option-1 = value-1
@PJL SET option-2 = value-2
...
@PJL SET option-n = value-n
@PJL ENTER LANGUAGE = PCL
PCL-commands+data\033%-12345X

Every PJL print job must begin and end with exactly one "Universal Exit Language" command \033%-12345X. Every PJL line must end with exactly one linefeed character \n. Possible options and their values depend on the printer model. If the printer is attached to the first parallel interface, use the following command to test if the PJL commands work as requested. This example activates the toner economy mode and the manual confirmation before printing (e.g., to be able to insert special paper):
Code:

echo -en "\033%-12345X@PJL SET ECONOMODE = ON\n@PJL SET MANUALFEED = ON\n@PJL ENTER LANGUAGE = PCL\n" >/dev/lp0
gs -q -dBATCH -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=/dev/lp0 /usr/share/doc/packages/ghostscript/examples/colorcir.ps
echo -en "\033%-12345X\n" >/dev/lp0

====================================================================================

Looks like you create a cups filter that all job pass through when going to that defined printer. the filter would then pass the necessary PJL commands to the printer.

Best of luck, let us know if you get this worked out.

kabalak 10-01-2008 07:14 AM

Quote:

Originally Posted by farslayer (Post 3269422)
Best of luck, let us know if you get this worked out.

Well, just to give feedback: no, I could not manage to write a working backend; I followed the guide and also took a windows printed-into-a-file file to get the necessary PJL commands but the printer does not work with it :-/ So I just gave up and have to boot up Windows to print..


All times are GMT -5. The time now is 04:15 AM.