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

« back to all changes in this revision

Viewing changes to contrib/japanese/gdevml6.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:
28
28
#include "gdevprn.h"
29
29
 
30
30
/* The device descriptors */
31
 
private dev_proc_open_device(ml600_open);
32
 
private dev_proc_close_device(ml600_close);
33
 
private dev_proc_print_page(ml600_print_page);
 
31
static dev_proc_open_device(ml600_open);
 
32
static dev_proc_close_device(ml600_close);
 
33
static dev_proc_print_page(ml600_print_page);
34
34
 
35
 
private gx_device_procs ml600_procs =
 
35
static gx_device_procs ml600_procs =
36
36
        prn_procs(ml600_open, gdev_prn_output_page, ml600_close);
37
37
 
38
38
gx_device_printer gs_ml600_device =
45
45
 
46
46
 
47
47
/* ------ prototype ------ */
48
 
private int
 
48
static int
49
49
ml_finish(
50
50
        gx_device_printer       *pdev,
51
51
        FILE    *fp);
52
52
 
53
 
private int
 
53
static int
54
54
ml_init(
55
55
        gx_device_printer       *pdev,
56
56
        FILE    *fp);
57
57
 
58
 
private int
 
58
static int
59
59
move_pos(
60
60
        FILE    *fp,
61
61
        int     n,
62
62
        int     m);
63
63
 
64
 
private int
 
64
static int
65
65
make_line_data(
66
66
        byte    *curr_data,
67
67
        byte    *last_data,
68
68
        int     line_size,
69
69
        byte    *buf);
70
70
 
71
 
private int
 
71
static int
72
72
send_line(
73
73
        byte    *buf,
74
74
        int     cnt,
75
75
        FILE    *fp);
76
76
 
77
 
private int
 
77
static int
78
78
page_header(
79
79
        gx_device_printer       *pdev,
80
80
        FILE    *fp);
86
86
#define ppdev   ((gx_device_printer *)pdev)
87
87
 
88
88
 
89
 
private int
 
89
static int
90
90
ml600_open(
91
91
        gx_device       *pdev)
92
92
{
106
106
        return ml_init(ppdev, prn_stream);
107
107
}
108
108
 
109
 
private int
 
109
static int
110
110
ml600_close(
111
111
        gx_device       *pdev)
112
112
{
125
125
 
126
126
 
127
127
/* Send the page to the printer.  */
128
 
private int
 
128
static int
129
129
ml600_print_page(
130
130
        gx_device_printer       *pdev,
131
131
        FILE    *prn_stream)
203
203
}
204
204
 
205
205
 
206
 
private int
 
206
static int
207
207
move_pos(
208
208
        FILE    *fp,
209
209
        int     n,
226
226
}
227
227
 
228
228
 
229
 
private int
 
229
static int
230
230
make_line_data(
231
231
        byte    *curr_data,
232
232
        byte    *last_data,
286
286
}
287
287
 
288
288
 
289
 
private int
 
289
static int
290
290
send_line(
291
291
        byte    *buf,
292
292
        int     cnt,
298
298
}
299
299
 
300
300
 
301
 
private int
 
301
static int
302
302
ml_init(
303
303
        gx_device_printer       *pdev,
304
304
        FILE    *fp)
311
311
}
312
312
 
313
313
 
314
 
private int
 
314
static int
315
315
page_header(
316
316
        gx_device_printer       *pdev,
317
317
        FILE    *fp)
342
342
}
343
343
 
344
344
 
345
 
private int
 
345
static int
346
346
ml_finish(
347
347
        gx_device_printer       *pdev,
348
348
        FILE    *fp)