More Information (P-touch/QL-Printer CUPS)


  • Uninstall printer drivers
  • 1. Login as a superuser ( or use "sudo" option if it is required )
    2. Uninstall cupswrapper driver
    Command (for dpkg)  :  dpkg  -P  (cupswrapper-driver-name)
    Command (for rpm)  :  rpm  -e  (cupswrapper-driver-name)
    Example(for dpkg) | Example(for rpm)
    3. Uninstall LPR driver
    Command (for dpkg)  :  dpkg  -P  (lpr-driver-name)
    Command (for rpm)  :  rpm  -e  (lpr-driver-name)
    Example(for dpkg) | Example(for rpm)
    4. Check the uninstallation.
    Command (for dpkg)  :  dpkg  -l  |  grep  Brother
    Command (for rpm)  :  rpm  -qa  |  grep  -e  (lpr-driver-name)  -e  (cupswrapper-driver-name)
    Example(for dpkg) | Example(for rpm)

    Page Top


  • Add a custom media size for continuous tape
  • 1. Run the command to add a custom media size
    Command (Type the whole command as a single line before hitting enter):
    brpapertoollpr_(Model-Name)  -P  (P-touch/QL-Printer-Name)  -n  (Format-Name)  -w  (Width)  -h  (Height/Length)
    Example

    *** Enter the Width and Height/Length in the millimeter unit.
    *** Superuser authorization is required.


    *a: If you are using QL-1050, edit a PPD file as follows
    a-1. Open /etc/cups/ppd/(model name).ppd with your preferred text editor and with a superuser account.
    a-2. Insert 2 [RETURN]s before the "*CloseUI"s in PageSize section and PageRegion section.
    [Before the edit]
    *PageSize (a custom size name): " "*CloseUI: *PageSize
    ...
    *PageRegion (a custom size name): " "*CloseUI: *PageRegion

    [After the edit]
    *PageSize (a custom size name): " "
    *CloseUI: *PageSize
    ...
    *PageRegion (a custom size name): " "
    *CloseUI: *PageRegion

    *b: If you would like to add custom media width 102mm, edit a file as follows
    b-1. Open /usr/local/Brother/PTouch/(model_name)/inf/paperinf(model_name)pt1 with your preferred text editor and with a superuser account.
    b-2. Edit the number "1167" to "1164" for the added custom media size.

    2. Select the new media size from "Set Printer Options" in "http://localhost:631/printers"
    3. Try a test print from "Print Test Page"

    If you cannot print with the custom media size, please check that your system has the "pstops" command.

  • Delete a custom media size for continuous tape
  • Run the command to delete the media size
    Command (Type the whole command as a single line before hitting enter):
    brpapertoollpr_(Model-Name)  -P  (P-touch/QL-Printer-Name)  -d  (Format-Name)
    Example

    *** Superuser authorization is required.

  • Use bi-directional USB port
  • The printer status information can be retrieved from "/var/log/cups/error_log" by connecting the printer through the bi-direction USB port.

    *** The bi-directional USB port is not available on some distributions
    *** LPR driver and cupswrapper driver installation are required before this process
    1. Open a web browser and go to "http://localhost:631/printers".
    2. Click "Modify Printer" and set following parameters.
    - Your P-touch/QL-Printer's name
         for Device

      *** Select a entry of "Brother USB Printer (P-touch (model name))"
      e.g. "Brother USB Printer (P-touch QL-580N)"
    - Brother      for Make/Manufacturer Selection
    - Your P-touch/QL-Printer's name
         for Model/Driver Selection
    Example of a USB printer entry

    Page Top


    Add a custom media size
    # brpapertoollpr_ql1050 -P QL-1050 -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql1060n -P QL-1060N -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql500 -P QL-500 -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql550 -P QL-550 -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql650td -P QL-650TD -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql570 -P QL-570 -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_ql580n -P QL-580N -n custom29x100 -w 29 -h 100
    
    # brpapertoollpr_pt9500pc -P PT-9500PC -n custom36x100 -w 36 -h 100
    
    

    Back

    Delete a custom media size
    # brpapertoollpr_ql1050 -P QL-1050 -d custom29x100
    #
    

    Back

    Uninstall cupswrapper driver (dpkg)
    # dpkg -P ql1050cupswrapper
    (Reading database ... 97352 files and directories currently installed.)
    Removing ql1050cupswrapper ...
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    Purging configuration files for ql1050cupswrapper ...
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    
    #
    

    Back

    Uninstall LPR driver (dpkg)
    # dpkg -P ql1050lpr
    (Reading database ... 97349 files and directories currently installed.)
    Removing ql1050lpr ...
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/lpd': No such file or directory
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/inf': No such file or directory
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    Purging configuration files for ql1050lpr ...
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/lpd': No such file or directory
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/inf': No such file or directory
    rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    dpkg - warning: while removing ql1050lpr, directory `/usr/local' not empty so not removed.
    
    #
    
    

    Back

    Check the uninstallation (dpkg)
    # dpkg -l | grep Brother
    #
    
    

    Back

    Uninstall cupswrapper driver (rpm)
    # rpm -e ql1050cupswrapper
    Stopping cups: [  OK  ]
    Starting cups: [  OK  ]
    # 
    

    Back

    Uninstall LPR driver (rpm)
    # rpm -e ql1050lpr
    # 
    

    Back

    Check the uninstallation (rpm)
    # rpm -qa | grep -e ql1050lpr -e ql1050cupswrapper
    # 
    

    Back

    Page Top

    Printer Entry with bi-directional USB port
    img8

    Back

    Page Top