~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gdevsj48.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gdevsj48.c 8022 2007-06-05 22:23:38Z giles $*/
 
14
/* $Id: gdevsj48.c 8250 2007-09-25 13:31:24Z giles $*/
15
15
/*
16
16
 * StarJet SJ48 printer driver.
17
17
 *
37
37
 */
38
38
 
39
39
/* The device descriptor */
40
 
private dev_proc_print_page(sj48_print_page);
 
40
static dev_proc_print_page(sj48_print_page);
41
41
gx_device_printer far_data gs_sj48_device =
42
42
  prn_device(prn_std_procs, "sj48",
43
43
        80,                             /* width_10ths, 8" */
78
78
 
79
79
 
80
80
/* Send the page to the printer. */
81
 
private int
 
81
static int
82
82
sj48_print_page(gx_device_printer *pdev, FILE *prn_stream)
83
83
{       int line_size = gx_device_raster((gx_device *)pdev, 0);
84
84
        int xres = pdev->x_pixels_per_inch;