LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 09-02-2008, 10:51 AM   #1
kabalak
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Unhappy [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.
 
Old 09-03-2008, 07:49 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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?)
 
Old 09-04-2008, 03:41 AM   #3
kabalak
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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..
 
Old 09-04-2008, 04:46 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

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

and Google
 
Old 09-04-2008, 11:05 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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.
 
Old 10-01-2008, 08:14 AM   #6
kabalak
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by farslayer View Post
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..
 
  


Reply

Tags
network printing, printing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing with CUPS to hplaserjets only printing 1 line zmag2linux Linux - Newbie 1 02-01-2008 11:48 AM
sharp mx-2300n printing problems tgm4883 Linux - Hardware 1 09-10-2006 12:17 AM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 02:56 PM
Scribus Printing How to put 4 flyers on a page when printing jazzboy Linux - Software 0 05-02-2004 07:13 AM
printing colour graphics on Sharp AJ2000 Smerk Linux - Hardware 0 11-09-2003 10:15 AM


All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration