Skip to content

Commit dc1eb4e

Browse files
committed
fix examples
1 parent b1db41c commit dc1eb4e

File tree

1 file changed

+1
-2
lines changed
  • resources/views/docs/desktop/1/the-basics

1 file changed

+1
-2
lines changed

resources/views/docs/desktop/1/the-basics/system.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ You can customize print behavior using the settings array. Here are some common
142142
$settings = [
143143
'pageSize' => 'A4',
144144
'landscape' => true,
145-
'marginsType' => 1, // 0: default, 1: none, 2: minimum
146145
];
147146

148147
System::print('<html>...', $printer, $settings);
@@ -152,7 +151,7 @@ System::print('<html>...', $printer, $settings);
152151
// Print multiple copies with duplex
153152
$settings = [
154153
'copies' => 3,
155-
'duplex' => 'long', // 'simplex', 'short', 'long'
154+
'duplexMode' => 'longEdge', // 'simplex', 'shortEdge', 'longEdge'
156155
'color' => false, // true for color, false for monochrome
157156
];
158157

0 commit comments

Comments
 (0)