CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • custom paper size for mailing label
Pages: [1]

Author Topic: custom paper size for mailing label  (Read 1499 times)

fastfood

  • Guest
custom paper size for mailing label
November 09, 2009, 03:09:07 am
Hi,

I dont know if it is the right place to ask this question.
I am using Joomla! 1.0.x + 2.0.7 CiviCRM. I want to create a custom paper size for mailing label printing. I know 2 places for Label.php. And, know how to create a new label type. However, paper size seems only can be either "A4" or "letter". My new label is Avery U4456 and Size: 70 x 29.7mm (3 x 10 per sheet) which is not A4 or letter.

May I seek your advice on the below piece of codes for 'paper-size'?

               '5160' => array('name' => '5160', 'paper-size' => 'letter', 'metric' => 'mm',
                               'lMargin' => 1.762, 'tMargin' => 10.7, 'NX' => 3, 'NY' => 10,
                               'SpaceX' => 3.175, 'SpaceY' => 0, 'width' => 66.675, 'height' => 25.4,
                               'font-size' => 8),

Thank you for your helping hands.

fastfood

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: custom paper size for mailing label
November 09, 2009, 06:50:15 am

your best bet might be to ask on the ufpdf / fpdf forums. our mailing label code is from that project

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • custom paper size for mailing label

This forum was archived on 2017-11-26.