author | William.D.Johnston <William.D.Johnston@oracle.com> |
Sat, 06 Jul 2013 08:25:42 -0700 | |
branch | s11u1-sru |
changeset 2666 | e70cc06cc5a9 |
parent 852 | 0a7f3f0c7b6f |
child 7819 | b1bca76ec901 |
permissions | -rw-r--r-- |
852
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
1 |
--- ghostscript-9.00/cups/gdevcups.c Thu Aug 12 23:40:47 2010 |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
2 |
+++ gdevcups.c Wed Mar 7 13:16:38 2012 |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
3 |
@@ -3459,7 +3459,7 @@ |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
4 |
sp = ((gx_device_printer *)pdev)->space_params; |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
5 |
|
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
6 |
if ((code = gdev_prn_maybe_realloc_memory((gx_device_printer *)pdev, &sp, |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
7 |
- width_old, height_old, |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
8 |
+ width, height, |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
9 |
cups->page_uses_transparency)) |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
10 |
< 0) |
0a7f3f0c7b6f
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff
changeset
|
11 |
return (code); |