A note for anyone looking for information about printing with fxlinuxprint.ppd 
and using the 5 digit UserIDs.


Due to not finding any details about how to print with UserIDs turned on, the 
following hack was put to use.


This is to use "User ID" values to print to a  DocuCentre-II C4300  and
has been tested and verified.


some  fxlinuxprint  files can be found here:   http://bit.ly/2Wt2iD


>From the  fxlinuxprint-src-1.0.1  files ,  edit the file  fxlinuxprint.c  at 
>line 497 to make the following changes:


Original
----------

                sprintf (str, "%s%d\x0a", PJLSetQty, opt->copies);
        }
        strcat (pjl, str);
        strcat (pjl, PJLSetJobAttribute);
        strcat (pjl, PJLAttributeFstp);


With 2 lines to add User ID ( where XXXXX is a valid 5 digit UserID )
---------------------------------


                sprintf (str, "%s%d\x0a", PJLSetQty, opt->copies);
        }
        strcat (pjl, str);
        strcat (pjl, PJLSetJobAttribute);
        strcat (pjl, "\"@JOAU=XXXXX\"\n");
        strcat (pjl, PJLSetJobAttribute);
        strcat (pjl, PJLAttributeFstp);


then compile the ppd as regular  -->   ./configure , make , make install

and send a test print.


on each PC with a different UserID, the XXXXX value needs to be changed
and the driver recompiled.



this hack wouldn't have been possible without the details from users
above.


Thanks     (c:

-- 
Fuji-Xerox engine for CUPS
https://bugs.launchpad.net/bugs/124442
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to