OSX printer paper

Source: Internet
Author: User

Cups uses the pcpds file to configure the function of each printer. You can modify the ppds file to perform special configuration for each printer. Here is an example.

By default, each printer supports several types of paper types and sizes, which may be very long and inconvenient for users to choose. You can shorten the list by modifying the pcpds file.

Find * defapappaperdimension, which is followed by the definition and description of each paper size supported by the lock, and supports the text description of each language. You only need to add a % before the unwanted paper type.

For example

* % Paperdimension executor/executive: "522 756"

* % Paperdimension halfletter/statement: "396 612"

* % Paperdimension B5/JIS B5: "516 729"

......

Comparison

Before change


After the change


After the change, you can use cupstestppd to check the pcpds file.


Add custom paper. One way is to allow the user to define it on the print interface, but it is valid for the current user (of course, it can also be published to other users, or it can be used for local login users, see COM. apple. print. custompapers file), or change ppdss so that the local machine can be globally valid, you need to add the following information when adding

* Paperdimension letter/letter: "612 792"

* Pagesize letter/letter :"

* Pageregion letter/letter :"

* Imageablearea letter/letter:

Letter example:

*PaperDimension Letter/Letter: "612 792"*da.PaperDimension Letter/Letter: ""*de.PaperDimension Letter/Letter: ""*es.PaperDimension Letter/Letter: ""*fi.PaperDimension Letter/Letter: ""*fr.PaperDimension Letter/Lettre: ""*it.PaperDimension Letter/Letter: ""*ja.PaperDimension Letter/レター: ""*ko.PaperDimension Letter/레터: ""*nl.PaperDimension Letter/Letter: ""*no.PaperDimension Letter/Letter: ""*pt.PaperDimension Letter/Carta: ""*sv.PaperDimension Letter/Letter: ""*zh_CN.PaperDimension Letter/信纸: ""*zh_TW.PaperDimension Letter/Letter: ""*PageSize Letter/Letter: "    <</DeferredMediaSelection true /PageSize [612 792] /ImagingBBox null /MediaClass null >> setpagedevice"*End*da.PageSize Letter/Letter: ""*de.PageSize Letter/Letter: ""*es.PageSize Letter/Letter: ""*fi.PageSize Letter/Letter: ""*fr.PageSize Letter/Lettre: ""*it.PageSize Letter/Letter: ""*ja.PageSize Letter/レター: ""*ko.PageSize Letter/레터: ""*nl.PageSize Letter/Letter: ""*no.PageSize Letter/Letter: ""*pt.PageSize Letter/Carta: ""*sv.PageSize Letter/Letter: ""*zh_CN.PageSize Letter/信纸: ""*zh_TW.PageSize Letter/Letter: ""*PageRegion Letter/Letter: "    <</DeferredMediaSelection true /PageSize [612 792] /ImagingBBox null /MediaClass null >> setpagedevice"*End*da.PageRegion Letter/Letter: ""*de.PageRegion Letter/Letter: ""*es.PageRegion Letter/Letter: ""*fi.PageRegion Letter/Letter: ""*fr.PageRegion Letter/Lettre: ""*it.PageRegion Letter/Letter: ""*ja.PageRegion Letter/レター: ""*ko.PageRegion Letter/레터: ""*nl.PageRegion Letter/Letter: ""*no.PageRegion Letter/Letter: ""*pt.PageRegion Letter/Carta: ""*sv.PageRegion Letter/Letter: ""*zh_CN.PageRegion Letter/信纸: ""*zh_TW.PageRegion Letter/Letter: ""*ImageableArea Letter/Letter: "12.00 12.12 599.88 780.00"*da.ImageableArea Letter/Letter: ""*de.ImageableArea Letter/Letter: ""*es.ImageableArea Letter/Letter: ""*fi.ImageableArea Letter/Letter: ""*fr.ImageableArea Letter/Lettre: ""*it.ImageableArea Letter/Letter: ""*ja.ImageableArea Letter/レター: ""*ko.ImageableArea Letter/레터: ""*nl.ImageableArea Letter/Letter: ""*no.ImageableArea Letter/Letter: ""*pt.ImageableArea Letter/Carta: ""*sv.ImageableArea Letter/Letter: ""*zh_CN.ImageableArea Letter/信纸: ""*zh_TW.ImageableArea Letter/Letter: ""

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.