SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member nguyentruongto's Avatar
    Join Date
    Sep 2012
    Location
    Ho Chi Minh City
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to define different tray print options in javascript ?

    Hi everybody !
    I have requirement to print employees salary and job certificates from intranet site on company letter head in shared printer and that shared printer is also used for normal office printing.

    To print employees salary and job certificates i want to put letter heads in tray 2 and normal printing papers in tray 1.

    Please give your suggestions if you know how to define tray options in javascript.

    Thanks before !

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You don't. Javascript does not have such capabilities.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by nguyentruongto View Post
    Please give your suggestions if you know how to define tray options in javascript.
    Add a duplicate printer driver called "Printer Name - Tray 2" and educate the users to use that separate one for tray 2 items.
    You may even want to place a prominent message on the screen, or even an alert before printing, to help act as a reminder.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •